package com.aabte.design.pattern.structural.decorator.v2;

public class SausageDecorator extends BattercakeDecorator {

    public SausageDecorator(AbstractBattercake battercake) {
        super(battercake);
    }

    @Override
    public String getDesc() {
        return super.battercake.getDesc() + "加一根香肠";
    }

    @Override
    public int getCost() {
        return battercake.getCost() + 5;
    }
}
